import request  from "./http"

// https://apis.netstart.cn/yunyuedu/store/show.json?type=recommend&uuid=f2cb32ff209f4010911a77a617add8c4
// store/show.json
// 书城
export function getStoreShow(){
    return request({
        url:"store/show.json",
        method:"get"
    })
}

// store/info.json
// 分类
export function getStoreInfo(){
    return request({
        url:"store/info.json",
        method:"get"
    })
}

// book/getsub.json
// 书籍介绍
export function getBookGetsub(params){
    return request({
        url:"book/getsub.json",
        method:"get",
        params,

    })
}

// book/info.json
// 书籍信息
export function getBookInfo(params){
    return request({
        url:"book/info.json",
        method:"get",
        params
    })
}

// 最新章节
// book/simpleInfo.json
export function getBookSpimpleInfo(params){
    return request({
        url:"book/simpleInfo.json",
        method:"get",
        params
    })
}

// reader/book/info.json
// 章节列表
export function getReaderBookInfo(params){
    return request({
        url:"reader/book/info.json",
        method:"get",
        params
    })
}

// 章节内容
// reader/book/content.json
export function getReaderBookContent(params){
    return request({
        url:"reader/book/content.json",
        method:"get",
        params
    })
}

// 评论
// comment/getComments.json
export function getCommentGetComments(params){
    return request({
        url: "comment/getComments.json",
        method:"get",
        params
    })
}

